//
//  JSProgressHUD.h
//  JSBasicFramework
//
//  Created by Apple on 2018/9/3.
//  Copyright © 2018年 Apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface JSProgressHUD : UIView

//显示到keywondow上
+(instancetype)show;
//显示到keywindon上并显示文字信息
+(instancetype)showWithMessage:(NSString*)message;
+(void)hide;

//显示到view上
+(instancetype)showToView:(UIView*)view message:(NSString*)message;
+(void)hideForView:(UIView*)view;

// 显示加载框
+(void)agency_showLoadingInView:(UIView *)view;
+(void)agency_showLoadingInView:(UIView *)view noticeMsg:(NSString *)msg;
+(void)agency_hideForView:(UIView *)view;
+(void)agency_showNoticeMsg:(NSString *)msg InView:(UIView *)view;
+(void)agency_showSuccessMsg:(NSString *)msg InView:(UIView *)view;
+(void)agency_showFialdMsg:(NSString *)msg InView:(UIView *)view;
+(void)agency_showProgressMsg:(NSString *)msg Inview:(UIView *)view progress:(CGFloat)progress;

@end
